home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7300 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  38 lines

  1. Newsgroups: comp.lang.c
  2. Path: hertz.njit.edu!dxp8108
  3. From: Dharmesh Patel <dxp8108@hertz.njit.edu>
  4. Subject: HELP: UNIX's directory functions.
  5. Content-Type: TEXT/PLAIN; charset=US-ASCII
  6. Message-ID: <Pine.ULT.3.91.960217002153.21669B-100000@hertz.njit.edu>
  7. Sender: news@njit.edu
  8. Nntp-Posting-Host: hertz.njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Mime-Version: 1.0
  11. Date: Sat, 17 Feb 1996 00:25:21 -0500
  12.  
  13.  
  14. Hi all!
  15.  
  16. I need help with couple of things in C.  I need to know how the functions 
  17. opendir, readdir, closedir, and rewinddir work.  I also need to know the 
  18. elements of the struct dirent.
  19.  
  20. The reason for this request is that I have to write a program that 
  21. simulates the unix command 'pwd', the hard way.
  22.  
  23. Any help would be greatly appriciated by a strugling student.
  24.  
  25. Thanx in advance.
  26.  
  27. Oh and can you please email me rather than posting.  Thanks again.
  28.  
  29. =========================================================================
  30.       |  \       /  __    |    Dharmesh Patel / U.Grad. Student at NJIT |
  31.    - \|    \   /    |  \  |      E - Mail : dxp8108@hertz.njit.edu      |
  32.  /    |      X      |   | |     URL=http://hertz.njit.edu/~dxp8108      |
  33. |     |    /   \    |  /  |   "Madhuri Dixit's Unofficial Home Page"    |
  34.  \ _/ |  /       \  |/    |                                             |
  35. --------------------+-----+----------------------------------------------
  36.                     |8108@hertz.njit.edu
  37.  
  38.